package com.hema.auction.listener;

import com.hema.auction.http.HttpTag;

import java.io.IOException;

/**
 * author by john
 * 字符串协议回调接口
 */
public interface RequestCallBack {
    void onResponse(HttpTag eventCode, okhttp3.Call call, okhttp3.Response response);
    void onFailure(HttpTag eventCode, okhttp3.Call call, IOException e);
    void onRequestFinish(HttpTag eventCode);

}
